//
//  DirectoryTableViewController.h
//  DSNDialer
//
//  Created by Chris Morrell on 4/30/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface DirectoryTableViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource, UISearchDisplayDelegate, UISearchBarDelegate>
{
	NSDictionary *phoneBook;
	NSArray *filteredPhoneBook;
	NSMutableArray *compressedPhoneBook;

	NSMutableArray *keys;

	UISearchBar *searchBar;
	UISearchDisplayController *searchDC;
}

@property (nonatomic, retain) NSDictionary *phoneBook;
@property (nonatomic, retain) NSArray *filteredPhoneBook;
@property (nonatomic, retain) NSMutableArray *compressedPhoneBook;
@property (nonatomic, retain) NSMutableArray *keys;

@property (retain) UISearchBar *searchBar;
@property (retain) UISearchDisplayController *searchDC;


-(void)cancelButtonAction:(id)sender;
-(void)searchButtonAction:(id)sender;

@end
